package cn.ly.security.service;

import cn.ly.security.entity.Info;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface InfoService extends IService<Info> {

    List<Map<String, Object>> lyGetInfoList(Page<Map<String, Object>> page);
    List<Info> selectAllDevice(@Param("current") Integer current, @Param("size") Integer size);
    List<Info> selectDeviceByName(String iName,Integer current,Integer size);
    List<Info> selectAllByArea();
    List<Info> selectAreaByName(@Param("iArea")String iArea);
    Info selectSingleDeviceByName(@Param("iName")String iName);
}
